Variations et fonction dérivée
Author: Yvan Monka - m@ths et tiques 2013

fonction f

f(x)=

dérivée f'

f croissante

dérivée<0

f décroissante

dérivée>0

f(x) = x^(3) - 3 * x^(2) - 2 * x + 5
ChampTexte1 = Textfield(f)
g(x) = f'(x)
texte1: "f'(x)=" + g + ""
h = If(g(x) > 0, f)
k = If(g(x) < 0, g)
l = If(g(x) < 0, f)
m = If(g(x) > 0, g)
A, B, C, D, E, F = Intersect(g, xAxis)
a = OrthogonalLine(A, xAxis)
b = OrthogonalLine(B, xAxis)
c = OrthogonalLine(C, xAxis)
d = OrthogonalLine(D, xAxis)
e = OrthogonalLine(E, xAxis)
i = OrthogonalLine(F, xAxis)
G = Intersect(f, a)
H = Intersect(f, b)
I = Intersect(f, c)
J = Intersect(f, d)
K = Intersect(f, e)
L = Intersect(f, i)
j = Segment(B, H)
n = Segment(C, I)
p = Segment(F, L)
q = Segment(D, J)
r = Segment(A, G)
s = Segment(E, K)
texte2: "" + (x(A)) + ""
texte3: "" + (x(B)) + ""
texte4: "" + (x(C)) + ""
texte5: "" + (x(D)) + ""
texte6: "" + (x(E)) + ""
texte7: "" + (x(F)) + ""